package psi.common;

/**
 * 操作结果，用于Ajax返回结果
 * 
 * @author 李静波
 *
 */
public class Result {
	private boolean success;

	private String msg;

	private String id;

	public Result() {

	}

	public Result(boolean success, String msg) {
		this.success = success;
		this.msg = msg;
	}

	public Result(boolean success, String msg, String id) {
		this.success = success;
		this.msg = msg;
		this.id = id;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}